PATH![]() |
![]() ![]() |
Creates a window from 'wind' resource data.
pascal OSStatus CreateWindowFromResource (
SInt16 resID,
WindowPtr *outWindow);
The CreateWindowFromResource function loads a window from a 'wind' resource. The Window Manager creates the window invisibly and places it at the front of the window list. After calling CreateWindowFromResource , you should set any desired associated data--using Window Manager or Control Manager accessor functions--then call the function TransitionWindow to display the window.